package hao.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//也可以更改扫描的范围, 只需要手动写@ComponentScan注解, 在里面写上扫描的包名即可
//是一个数组, 可以填写多个
//但是不建议这样做, 还怎么方法就怎么放
//@ComponentScan({"hao.itheima","hao.itbaima"}) : 扫描组件,默认扫描当前包及其子包下的所有组件
public class TliasManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(TliasManagementApplication.class, args);
    }

}
